package rcos.rpibuckhunter.archersfriend;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;

public class MainActivity extends Activity {
	private Button c18Meter;
	private Button c50Meter;
	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        c18Meter = (Button)this.findViewById(R.id.button1);
        c50Meter = (Button)this.findViewById(R.id.button2);
        c18Meter.setEnabled(true);
        c50Meter.setEnabled(false);
    }
    
	public void Start18MeterRound(View v) {
		startActivity(new Intent(MainActivity.this, RoundTimer.class));	
	}

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }
}
